package com.ygj.inspection.service;

import com.base.common.persistent.model.InspectionCategories;
import com.base.common.persistent.model.InspectionProject;

import java.util.List;

public interface InspectionService {

	/**
	 * 获取所有巡查类别
	 * 
	 * @return
	 */
	List<InspectionCategories> getAllInspectionCategories();

	/**
	 * 获取巡查项目
	 * 
	 * @param inspectionCategories
	 * @param inspectionPointCode
	 * @param compoundId
	 * @return
	 */
	List<InspectionProject> getInspectionProject(int inspectionCategories,
												 String inspectionPointCode);

	/**
	 * 
	 * 提交巡查工单<br> 
	 * 2015年9月29日下午10:45:55 增加字段compoundsId(小区id)和coordinates(经纬度)
	 * 
	 * @param employeeId
	 * @param inspectionProjectsStatusList
	 * @param compoundsId 
	 * @param coordinates 
	 * @return
	 */
	int subInspectionTicket(int employeeId,
							List<String> inspectionProjectsStatusList, String coordinates, int compoundsId);

}
